package com.zhiyou.books.service.impl;

import com.zhiyou.books.dao.TelDao;
import com.zhiyou.books.pojo.TelBook;
import com.zhiyou.books.service.TelBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TelBookServiceImpl implements TelBookService {
    @Autowired
    public TelDao telDao;
    @Override
    public List<TelBook> getTelNo() {
        return telDao.selectAll();
    }
}
